package com.kaifamiao.model;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author lucien-ma
 * @date 2021/8/24
 * @apiNote
 */
@Data
@Component("acc")
public class Account implements Serializable {

    @Value("${account.id}")
    private Integer id;

    @Value("${account.uid}")
    private Integer uid;

    @Value("${account.money}")
    private Double money;
}
